#pragma once

#include "d3dapp.h"
#include "GfxStats.h"
#include "SkyBox.h"
#include "Camera.h"
#include "Ground.h"



class Tanks_demo :	public D3DApp
{
public:
	Tanks_demo(HINSTANCE hInstance, std::string winCaption, D3DDEVTYPE devType, DWORD requestedVP);
	~Tanks_demo(void);

	bool checkDeviceCaps();
	void onLostDevice();
	void onResetDevice();
	void updateScene(float dt);
	void drawScene();

	// Helper methods
	void buildProjMtx();

	Camera *camera;
	D3DXMATRIX mProj;
private:
	GfxStats* mGfxStats;

	
	SkyBox *skybox; 
	Ground *ground;
};
